package com.xiyou.luckdraw.api.service;

import com.xiyou.luckdraw.api.dto.login.*;

import java.util.List;

/**
 * @ClassName: LoginService
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-15 20:31
 */
public interface LoginService {

    UserInfoDto getUser(String userName);

    List<UserRoleInfo> getRole(Long userId);

    List<RolePermission> getPermission(Long userId);

    /**
     * 修改密码
     *
     * @param param
     * @auther Jiangshijian
     * @date 2019-03-14 19:34
     */
    UpdateSysUserResponse modifyPwd(UserModifyRequest param);
}
